package mr.ali.video.web.mapper;

import mr.ali.video.web.model.Actor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
* <p>
    *  Mapper 接口
    * </p>
*
* @author Mr-ali
* @since 2024-09-08
*/
    @Repository
    public interface ActorMapper extends BaseMapper<Actor> {

        @Update("update actor set name = #{name}, actor_id = #{id},  gender = #{gender}, " +
              "sort = #{sort}, content = #{content}, url = #{url}, gmt_create  = #{gmtCreate} where id=#{id}")
    Integer updateVideo(Actor actor);
    }
